/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.entities;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author HoangTien
 */
public class Account implements Serializable {
    private String username;
    private String password;
    private String fullname;
    private String roles;
    private List<Folder> listFolders;
    private List<Comment> listComment;

    public Account() {
    }
    
    public Account(String username, String password, String fullname, String roles, List<Folder> listFolders) {
        this.username = username;
        this.password = password;
        this.fullname = fullname;
        this.roles = roles; 
        this.listFolders = listFolders;
    }

    public Account(String username, String password, String fullname, String roles, List<Folder> listFolders, List<Comment> listComment) {
        this.username = username;
        this.password = password;
        this.fullname = fullname;
        this.roles = roles;
        this.listFolders = listFolders;
        this.listComment = listComment;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getRoles() {
        return roles;
    }

    public void setRoles(String roles) {
        this.roles = roles;
    }

    /**
     * @return the listFolders
     */
    public List<Folder> getListFolders() {
        return listFolders;
    }

    /**
     * @param listFolders the listFolders to set
     */
    public void setListFolders(List<Folder> listFolders) {
        this.listFolders = listFolders;
    }

    /**
     * @return the listComment
     */
    public List<Comment> getListComment() {
        return listComment;
    }

    /**
     * @param listComment the listComment to set
     */
    public void setListComment(List<Comment> listComment) {
        this.listComment = listComment;
    }

    
        
} 